package com.woniuxy.purchasemanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.commons.entity.purchaseManager.PurchaseOrderGoodsEntity;
import com.woniuxy.commons.entity.purchaseManager.base.PageResult;
import com.woniuxy.commons.entity.purchaseManager.base.QueryPageBean;
import com.woniuxy.commons.entity.purchaseManager.dto.PurchaseOrderGoodsDTO;
import com.woniuxy.commons.utils.PageUtils;

import java.util.Map;

/**
 * 采购单商品表
 *
 * @author huangzhichao
 * @email 1205560871@gmail.com
 * @date 2022-04-19 13:00:28
 */
public interface PurchaseOrderGoodsService extends IService<PurchaseOrderGoodsEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 分页查询
     * @Author: xianhao
     * @Date: 2022/4/27 10:43
     * @param queryPageBean:
     * @return: java.lang.Object
     **/
    PageResult<PurchaseOrderGoodsDTO> findPage(QueryPageBean queryPageBean);

    /**
     * 编辑提交更新
     * @Author: xianhao
     * @Date: 2022/4/27 15:42
     * @return: boolean
     **/
    boolean updateByEdit(Integer x1,Integer x2, Integer purchaseOrderId);
}

